<div class="pageContent">
	
	<form method="post" action="<?php echo Yii::app()->createUrl('custom/edit');?>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="<?php echo $data['customize_id'];?>" />
		<div class="pageFormContent" layoutH="58">

			<div class="unit">
				<label>用户名称：</label>
				<input type="text" name="dataForm[username]" maxlength="30" class="required" errormsg="请输入用户名称" value="<?php echo $data['username'];?>"/>
			</div>
			<div class="unit">
				<label>目的地：</label>
				<input type="text" name="dataForm[destination]" maxlength="30" class="required" errormsg="请输入目的地" value="<?php echo $data['destination'];?>"/>
			</div>
			<div class="unit">
				<label>联系方式：</label>
				<input type="text" name="dataForm[contant]" maxlength="30" class="required" errormsg="请输入联系方式" value="<?php echo $data['contant'];?>"/>
			</div>
			<div class="unit">
				<label>人数：</label>
				<input type="text" name="dataForm[person_num]" class="digits required" errormsg="请输入人数(整数)" value="<?php echo $data['person_num'];?>"/>
			</div>
			<div class="unit">
				<label>出行时间：</label>
				<input type="text" name="dataForm[start_time]" class="date required" size="30" errormsg="请输入出行时间" dateFmt="yyyy-MM-dd" readonly="true" value="<?php echo date("Y-m-d", strtotime($data['start_time']));?>"/><a class="inputDateButton" href="javascript:;">选择</a>
			</div>
			<div class="unit">
				<label>状态：</label>
				<label><input type="radio" name="dataForm[status]" value="0" <?php if($data['status'] == 0){?>checked<?php }?>/>待联系</label>
				<label><input type="radio" name="dataForm[status]" value="1" <?php if($data['status'] == 1){?>checked<?php }?>/>已联系</label>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>
<?php $this->beginWidget('application.widget.tools.uploadjs'); ?>
<?php $this->endWidget(); ?>